package com.rf.business.model.demo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DemoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DemoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", "%"+value+"%", "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodIsNull() {
            addCriterion("build_period is null");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodIsNotNull() {
            addCriterion("build_period is not null");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodEqualTo(Integer value) {
            addCriterion("build_period =", value, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodNotEqualTo(Integer value) {
            addCriterion("build_period <>", value, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodGreaterThan(Integer value) {
            addCriterion("build_period >", value, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("build_period >=", value, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodLessThan(Integer value) {
            addCriterion("build_period <", value, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("build_period <=", value, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodIn(List<Integer> values) {
            addCriterion("build_period in", values, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodNotIn(List<Integer> values) {
            addCriterion("build_period not in", values, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodBetween(Integer value1, Integer value2) {
            addCriterion("build_period between", value1, value2, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andBuildPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("build_period not between", value1, value2, "buildPeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodIsNull() {
            addCriterion("operate_period is null");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodIsNotNull() {
            addCriterion("operate_period is not null");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodEqualTo(Integer value) {
            addCriterion("operate_period =", value, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodNotEqualTo(Integer value) {
            addCriterion("operate_period <>", value, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodGreaterThan(Integer value) {
            addCriterion("operate_period >", value, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("operate_period >=", value, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodLessThan(Integer value) {
            addCriterion("operate_period <", value, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodLessThanOrEqualTo(Integer value) {
            addCriterion("operate_period <=", value, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodIn(List<Integer> values) {
            addCriterion("operate_period in", values, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodNotIn(List<Integer> values) {
            addCriterion("operate_period not in", values, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodBetween(Integer value1, Integer value2) {
            addCriterion("operate_period between", value1, value2, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andOperatePeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("operate_period not between", value1, value2, "operatePeriod");
            return (Criteria) this;
        }

        public Criteria andStartYearIsNull() {
            addCriterion("start_year is null");
            return (Criteria) this;
        }

        public Criteria andStartYearIsNotNull() {
            addCriterion("start_year is not null");
            return (Criteria) this;
        }

        public Criteria andStartYearEqualTo(String value) {
            addCriterion("start_year =", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearNotEqualTo(String value) {
            addCriterion("start_year <>", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearGreaterThan(String value) {
            addCriterion("start_year >", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearGreaterThanOrEqualTo(String value) {
            addCriterion("start_year >=", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearLessThan(String value) {
            addCriterion("start_year <", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearLessThanOrEqualTo(String value) {
            addCriterion("start_year <=", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearLike(String value) {
            addCriterion("start_year like", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearNotLike(String value) {
            addCriterion("start_year not like", value, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearIn(List<String> values) {
            addCriterion("start_year in", values, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearNotIn(List<String> values) {
            addCriterion("start_year not in", values, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearBetween(String value1, String value2) {
            addCriterion("start_year between", value1, value2, "startYear");
            return (Criteria) this;
        }

        public Criteria andStartYearNotBetween(String value1, String value2) {
            addCriterion("start_year not between", value1, value2, "startYear");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusIsNull() {
            addCriterion("pipe_length is null");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusIsNotNull() {
            addCriterion("pipe_length is not null");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusEqualTo(Integer value) {
            addCriterion("pipe_length =", value, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusNotEqualTo(Integer value) {
            addCriterion("pipe_length <>", value, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusGreaterThan(Integer value) {
            addCriterion("pipe_length >", value, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pipe_length >=", value, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusLessThan(Integer value) {
            addCriterion("pipe_length <", value, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pipe_length <=", value, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusIn(List<Integer> values) {
            addCriterion("pipe_length in", values, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusNotIn(List<Integer> values) {
            addCriterion("pipe_length not in", values, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusBetween(Integer value1, Integer value2) {
            addCriterion("pipe_length between", value1, value2, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andoperatorStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pipe_length not between", value1, value2, "operatorStatus");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceIsNull() {
            addCriterion("init_air_province is null");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceIsNotNull() {
            addCriterion("init_air_province is not null");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceEqualTo(String value) {
            addCriterion("init_air_province =", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceNotEqualTo(String value) {
            addCriterion("init_air_province <>", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceGreaterThan(String value) {
            addCriterion("init_air_province >", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("init_air_province >=", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceLessThan(String value) {
            addCriterion("init_air_province <", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceLessThanOrEqualTo(String value) {
            addCriterion("init_air_province <=", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceLike(String value) {
            addCriterion("init_air_province like", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceNotLike(String value) {
            addCriterion("init_air_province not like", value, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceIn(List<String> values) {
            addCriterion("init_air_province in", values, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceNotIn(List<String> values) {
            addCriterion("init_air_province not in", values, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceBetween(String value1, String value2) {
            addCriterion("init_air_province between", value1, value2, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirProvinceNotBetween(String value1, String value2) {
            addCriterion("init_air_province not between", value1, value2, "initAirProvince");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceIsNull() {
            addCriterion("init_air_price is null");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceIsNotNull() {
            addCriterion("init_air_price is not null");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceEqualTo(BigDecimal value) {
            addCriterion("init_air_price =", value, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceNotEqualTo(BigDecimal value) {
            addCriterion("init_air_price <>", value, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceGreaterThan(BigDecimal value) {
            addCriterion("init_air_price >", value, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("init_air_price >=", value, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceLessThan(BigDecimal value) {
            addCriterion("init_air_price <", value, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("init_air_price <=", value, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceIn(List<BigDecimal> values) {
            addCriterion("init_air_price in", values, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceNotIn(List<BigDecimal> values) {
            addCriterion("init_air_price not in", values, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("init_air_price between", value1, value2, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andInitAirPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("init_air_price not between", value1, value2, "initAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceIsNull() {
            addCriterion("out_air_province is null");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceIsNotNull() {
            addCriterion("out_air_province is not null");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceEqualTo(String value) {
            addCriterion("out_air_province =", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceNotEqualTo(String value) {
            addCriterion("out_air_province <>", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceGreaterThan(String value) {
            addCriterion("out_air_province >", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("out_air_province >=", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceLessThan(String value) {
            addCriterion("out_air_province <", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceLessThanOrEqualTo(String value) {
            addCriterion("out_air_province <=", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceLike(String value) {
            addCriterion("out_air_province like", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceNotLike(String value) {
            addCriterion("out_air_province not like", value, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceIn(List<String> values) {
            addCriterion("out_air_province in", values, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceNotIn(List<String> values) {
            addCriterion("out_air_province not in", values, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceBetween(String value1, String value2) {
            addCriterion("out_air_province between", value1, value2, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirProvinceNotBetween(String value1, String value2) {
            addCriterion("out_air_province not between", value1, value2, "outAirProvince");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceIsNull() {
            addCriterion("out_air_price is null");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceIsNotNull() {
            addCriterion("out_air_price is not null");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceEqualTo(BigDecimal value) {
            addCriterion("out_air_price =", value, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceNotEqualTo(BigDecimal value) {
            addCriterion("out_air_price <>", value, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceGreaterThan(BigDecimal value) {
            addCriterion("out_air_price >", value, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("out_air_price >=", value, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceLessThan(BigDecimal value) {
            addCriterion("out_air_price <", value, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("out_air_price <=", value, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceIn(List<BigDecimal> values) {
            addCriterion("out_air_price in", values, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceNotIn(List<BigDecimal> values) {
            addCriterion("out_air_price not in", values, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_air_price between", value1, value2, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOutAirPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("out_air_price not between", value1, value2, "outAirPrice");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Integer value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Integer value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Integer value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Integer value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Integer value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Integer value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Integer> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Integer> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Integer value1, Integer value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Integer value1, Integer value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorDateIsNull() {
            addCriterion("operator_date is null");
            return (Criteria) this;
        }

        public Criteria andOperatorDateIsNotNull() {
            addCriterion("operator_date is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorDateEqualTo(Date value) {
            addCriterion("operator_date =", value, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateNotEqualTo(Date value) {
            addCriterion("operator_date <>", value, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateGreaterThan(Date value) {
            addCriterion("operator_date >", value, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateGreaterThanOrEqualTo(Date value) {
            addCriterion("operator_date >=", value, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateLessThan(Date value) {
            addCriterion("operator_date <", value, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateLessThanOrEqualTo(Date value) {
            addCriterion("operator_date <=", value, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateIn(List<Date> values) {
            addCriterion("operator_date in", values, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateNotIn(List<Date> values) {
            addCriterion("operator_date not in", values, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateBetween(Date value1, Date value2) {
            addCriterion("operator_date between", value1, value2, "operatorDate");
            return (Criteria) this;
        }

        public Criteria andOperatorDateNotBetween(Date value1, Date value2) {
            addCriterion("operator_date not between", value1, value2, "operatorDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}